package com.competition.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "product_cart")
public class ProductCart {
    @TableId
    @Column(name = "product_cart_id")
    private String productCartId;

    @Column(name = "product_cart_count")
    private Integer productCartCount;

    @Column(name = "product_id")
    private String productId;

    @Column(name = "product_check")
    private String productCheck;

    @Column(name = "user_id")
    private String userId;
}
